.titleLink{
    color: white;
    text-decoration: none;
    font-size: larger;
    line-height: 50px;
    margin-right: 20px;
}
.navBar{
    background-color: #1990e5cb;
    height: 50px;
    padding-left: 20px;
}
.titleLeft{
    float: left;
}
.titleRight{
    float: right;
}
.titleMiddle{
    font-size: smaller;
    margin: 0;
    padding-top: 0;
    line-height: 1;
}
.titleMiddle .titleLink{
    display: line-block;
    vertical-align: top;
    margin: 0;
}
.navBar2{
    background-color:white;
    height: 50px;
    background: linear-gradient(to right);
    padding-left: 20px;
}
.titleLink2{
    color: black;
    line-height: 50px;
    text-decoration: none;
    margin-right: 20px;
}
.titleLink2 span{
    color: aqua;
    font-size: larger;
    vertical-align: middle;
}
.titleRight img{
    margin-right: 20px;
}
.navBar3{
    background-color: #1990e5cb;
    height: 50px;
    padding-left: 20px;
    text-align: center;
    position: fixed;       
    bottom: 0;             
    left: 0;              
    right: 0;              
    clear: both;
    margin-bottom: 1px;  
    display: block;
    min-height: 50px;         
}
body {
    padding-bottom: 60px;  
    margin: 0;            
}
.navBar4{
    background-color: rgb(84, 230, 235);
    text-align: center;
    font-size: medium;       
}
.base{
    width: 50%;
    height: 50%;
    margin: 0 auto;
}
.base img{
    width: 400px;
    height: 400px;
    float: left;
}
.form{
    float: right;
    width: 300px;
    margin: 0 auto;
}
.form input{
    padding: 10px 12px;
    border-radius: 6px;
    border-color: #8b6f6f;
    border-width: 1px;
}
.tip{
    font-weight: bold;
    margin-bottom: 10px;
}
.error{
    color: red;
    margin-bottom: 20px;
}
.code{
    color: blue;
    font-size: small;
    margin-bottom: 20px;
}
.login{
    width: 80%;
    background-color: rgb(60, 103, 230);
    color: white;
    border: none;
    border-radius: 6px;
    line-height: 20px;
}
.gap input,.gap div{
    margin-bottom: 20px;
}
*{
    box-sizing: border-box;
}


.Pictures {
    display: flex; 
    gap: 10px; 
    padding: 10px; 
    flex-wrap: wrap; 
    align-items: flex-start; 
}

.main-pic {
    width: 60%; 
    height: 300px; 
    object-fit: cover; 
    border-radius: 4px; 
}


.small-pic {
    width: 38%; 
    height: 145px; 
    object-fit: cover;
    border-radius: 4px; 
}

.navBar4 {
    min-height: 350px; 
    padding: 10px 20px; 
}
.navBar5 {
    background-color: bisque;
    padding: 10px 20px;
    min-height: 400px;
}

.Pictures2 {
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 5px; 
    justify-items: center; 
    padding: 10px;
}

.Pictures2 img {
    width: 100%;
    max-width: 300px;
    height: 200px; 
    object-fit: cover;
    margin: 0; 
}


/* 个人中心样式 */
.personal {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* 头部区域 */
.personal-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.avatar-section {
    margin-bottom: 20px;
}

.header-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%; /* 圆形头像 */
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nickname {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.stats {
    font-size: 14px;
    color: #666;
}

.stats span {
    margin: 0 10px;
}

.personal-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-item {
    text-decoration: none;
    color: #333;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-item:hover {
    background-color: #f0f0f0;
}

/* 身体部分 */
.personal-body {
    display: flex;
    gap: 30px;
}

.body-left {
    flex: 2;
}

.body-right {
    flex: 1;
}

/* 视频区域样式 */
.video-section {
    margin-bottom: 30px;
}

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.line {
    flex: 1;
    height: 1px;
    background-color: #ddd;
}

.title-text {
    padding: 0 15px;
    color: #333;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.video-thumb {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s;
}

.video-thumb:hover {
    transform: scale(1.02);
}

/* 订阅区域样式 */
.subscribers-title {
    padding: 10px 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.subscribers-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subscriber-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 6px;
    background-color: #f9f9f9;
}

.sub-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.sub-info {
    flex: 1;
}

.sub-name {
    font-size: 15px;
    margin-bottom: 3px;
}

.sub-desc {
    font-size: 12px;
    color: #666;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .personal-body {
        flex-direction: column;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.video-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

/* 上部分样式 */
.video-top {
    margin-bottom: 30px;
}

/* 面包屑导航 */
.video-breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    text-align: left;
}

/* 视频标题 */
.video-title {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: left;
    color: #333;
}

/* 视频播放器 */
.video-player {
    width: 100%;
    height:600px;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;

}
#mainVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    width: 100%;
    height: auto;
    display: block;
}

/* 视频控制区 */
.video-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.action-btn:hover {
    background-color: #f5f5f5;
}

.video-views {
    color: #666;
    font-size: 14px;
}

/* 下部分样式 */
.video-bottom {
    display: flex;
    gap: 30px;
}

.video-bottom-left {
    flex: 3;
}

.video-bottom-right {
    flex: 1;
}

/* 通用区域样式 */
.section {
    margin-bottom: 30px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.section-header {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: left;
    color: #333;
}

/* 选集区域 */
.episode-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.episode-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

/* 相关视频区域 */
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.related-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

/* 评论区域 */
.comment-input-area {
    position: relative;
}

.comment-input {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: none;
    box-sizing: border-box;
}

.post-comment {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background-color: #1990e5;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

/* 右侧部分样式 */
.right-section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.right-section-header {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.info-content {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* 精选活动 */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.activity-thumb {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .video-bottom {
        flex-direction: column;
    }
    
    .episode-grid, .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

